package com.csx.saas.platform.system.service;

import com.csx.basic.base.service.SuperCacheService;
import com.csx.saas.platform.system.entity.SystemMenu;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 菜单
 * </p>
 *
 * @author ChenSongXin
 * @date 2021-02-28
 */
public interface SystemMenuService extends SuperCacheService<SystemMenu> {

    /**
     * 查询用户可用菜单
     *
     * @param userId
     * @return
     */
    List<SystemMenu> findVisibleMenu(Long userId);

}
